package com.im.passport.service.impl;

import com.im.passport.mapper.UserMapper;
import com.im.passport.pojo.User;
import com.im.passport.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chenmin
 * @date 2023/5/13
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    public User getUserInfoByUsername(String username ){
        return userMapper.getUserInfoByUsername(username);
    }
}
